package com.bye.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("customer")
public class CustomerDto {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String nicknameCustomer;

    private String phoneCustomer;

    private String passwordCustomer;

    private String avatarCustomer;

    private Date joinTime;

    //用户余额
    private int balance_customer;

    //用户积分
    private int   Integral_customer;

    private String status;

    @TableField(exist = false)
    private BigDecimal accountAmount;

    //分页
    @TableField(exist = false)
    private Integer currentPage;
    @TableField(exist = false)
    private Integer pageSize;
    @TableField(exist = false)
    private Date startTime;
    @TableField(exist = false)
    private Date endTime;
}
